home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
UTIL
/
MEMORY
/
OLD
/
MEM208SRC
/
FSLib
/
printf
/
Makefile
Wrap
Makefile
|
1993-04-02
|
828b
|
49 lines
# Project name: printf
#
# AMU Makefile for printf module
# By Nick Smith, 1993
# Toolflags:
SQUEEZE = squeeze -v
MSQUEEZE = modsqz -v
DEPEND = -depend !Depend
CFLAGS= $(DEPEND) -c -zM -ffah -wf -throwback -I^
CC=cc
LN = link -rmf
AS = aasm $(DEPEND) -throwback -m -q
# Dependencies
LIBS = c:stubs.o c:risc_oslib.o
FSFILES = ^.FSLIB
FSLIB = $(FSFILES) $(LIBS)
PRINTFBITS = printf.o cprintf.o
# Targets
all: printf
printf: $(PRINTFBITS) $(LIBS)
$(LN) -o $@ $(PRINTFBITS) $(LIBS)
$(MSQUEEZE) $@
# $(SQUEEZE) $@
clean:
remove printf
wipe o.* ~v~c
.SUFFIXES: .cmhg .o .s .c
.c.o :
$(CC) $(CFLAGS) $<
.s.o :
objasm $(DEPEND) $< $@ -stamp -quit
.cmhg.o :
cmhg $< $@
# Dynamic dependencies:
o.cprintf: c.cprintf
o.cprintf: c:h.kernel